package mapper.UserManagement;

import entity.UserInfForStu;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

@Repository
public interface UserInfForStuMapper {

    @Insert("insert into UserInfForStu(userInformationId,name,Sex,phoneNumber,email,school,major,timeForGraduation,degree) values(#{userInformationId},#{name},#{sex},#{phoneNumber},#{email},#{school},#{major},#{timeForGraduation},#{degree})")
    public int BindUserInfForStuMapper(UserInfForStu UserInfForStu);

//    @Select("select * from User where userId=#{userId} and passWord=#{passWord} ")
//    public User findUser(User user);
}
